import { defineStore } from 'pinia'
import { ref } from 'vue'

// 用户模块
export const useCounterStore = defineStore('big-counter', () => {
  const count = ref(0) // 定义 token

  const addCount = () => count.value++ // 设置 token

  return { count, addCount }
})
